package com.kgc.basicprovider.service;

import com.kgc.basic.pojo.Customer;
import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface CustomerService {
    //查询所有客户
    ResponseMsg selectAllCustomer();

    //校验编码是否重复
    ResponseMsg selectCustomerByCode(String code);

    ResponseMsg selectCustomerByPage(Map<String, Object> map);

    ResponseMsg insertCustomer(Customer customer);

    ResponseMsg updateCustomer(Customer customer);

    ResponseMsg deleteCustomer(int id);

    ResponseMsg getAllCustomerByData();



}
